package com.j2205.hongzhiyuan.mapper;

import com.j2205.hongzhiyuan.pojo.Person;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonMapper {
    int insertPerson(@Param("person") Person person);
    List<Person> selectAllPerson();

    Person selectPersonById(int id);

    int updatePerson(@Param("person") Person person);

    int deletePerson(int pid);
}
